package com.dao;

import com.entity.Sharetype;
import com.entity.SharetypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SharetypeDao {
    long countByExample(SharetypeExample example);

    int deleteByExample(SharetypeExample example);

    int deleteByPrimaryKey(Integer sharetypeid);

    int insert(Sharetype record);

    int insertSelective(Sharetype record);

    List<Sharetype> selectByExample(SharetypeExample example);

    Sharetype selectByPrimaryKey(Integer sharetypeid);

    int updateByExampleSelective(@Param("record") Sharetype record, @Param("example") SharetypeExample example);

    int updateByExample(@Param("record") Sharetype record, @Param("example") SharetypeExample example);

    int updateByPrimaryKeySelective(Sharetype record);

    int updateByPrimaryKey(Sharetype record);
}